
// 服务管理

import { httpGet, httpPost, httpPut } from "../utils/http"

// 查询服务
export const searchServiceApi = (data) => {
  return httpPost('/services/search', data)
}
// 新增服务
export const addServiceApi = (data) => {
  return httpPost('/services/add', data)
}
// 完成服务
export const CompleteServiceApi = (data) => {
  return httpPut('/services/finish', data)
}
// 修改服务 
export const updateServiceApi = (data) => {
  return httpPut('/services/update', data)
}

// 获取一个服务详情 
export const detailServiceApi = (data) => {
  return httpGet('/services/detail', data)
}
// 获取一个服务完整详情 
export const detailServiceFullApi = (data) => {
  return httpGet('/services/fullDetail', data)
}